<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>LayIM移动版测试</title>
 
 
  <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
</head>
<body>
  <script src="../layuiadmin/layui/layui.js"></script>
<script>
layui.use('layim', function(layim){
  //先来个客服模式压压精
  layim.config({
    brief: true //是否简约模式（如果true则不显示主面板）
  }).chat({
    name: '客服姐姐'
    ,type: 'friend'
  ,"avatar": "http://tp4.sinaimg.cn/1345566427/180/5730976522/0" //头像
    ,id: -2
  });
});
</script>
</body>
</html>
      